package com.ffcs.web.services;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ffcs.web.daos.implementations.PicNewsDao;
import com.ffcs.web.model.entity.PicNews;

@Service
public class PicNewsService {

	@Autowired
	private PicNewsDao picNewsDao;
	
	public PicNews getPicNews(String id) {
		System.out.println(id);
		return picNewsDao.get(Integer.parseInt(id));
	}

}
